package cn.kgc.util;


import java.util.List;

/**
 * @author liyuzhen
 * @date 2021/12/23 13:57
 */

public class PageBeanHelper<T> {
    /**
     * 当前页
     */
    private Integer pageNumber;
    /**
     * 每页显示的条数
     */
    private Integer pageSize;

    /**
     * 总记录数
     */
    private Integer pageCount;

    /**
     * 起始下标
     */
    private  Integer startIndex;

    /**
     * 总页数
     */
    private Integer pageTotal;


    /**
     * 返回的数据
     */
    private List<T> resultList;

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    public Integer getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(Integer pageTotal) {
        this.pageTotal = pageTotal;
    }

    public List<T> getResultList() {
        return resultList;
    }

    public void setResultList(List<T> resultList) {
        this.resultList = resultList;
    }
}
